package com.SpringBoot.rolePermission.mapper;

import com.SpringBoot.rolePermission.pojo.RolePermission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;

/**
 * <p>
 * 用户权限关联表 Mapper 接口
 * </p>
 *
 * @author bxk
 * @since 2025-09-20
 */
public interface RolePermissionMapper extends BaseMapper<RolePermission> {

    ArrayList<String> selectUserPermissionByUserId(@Param("userId") Integer userId);

}
